# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'ChipSaveLoadDialog.ui'
#
# Created: Wed Mar 30 23:51:32 2011
#      by: PyQt4 UI code generator 4.8.1
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

try:
    _fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
    _fromUtf8 = lambda s: s

class Ui_ChipSaveLoadDialog(object):
    def setupUi(self, ChipSaveLoadDialog):
        ChipSaveLoadDialog.setObjectName(_fromUtf8("ChipSaveLoadDialog"))
        ChipSaveLoadDialog.resize(454, 375)
        ChipSaveLoadDialog.setMinimumSize(QtCore.QSize(454, 375))
        self.verticalLayout = QtGui.QVBoxLayout(ChipSaveLoadDialog)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.tree = QtGui.QTreeWidget(ChipSaveLoadDialog)
        self.tree.setContextMenuPolicy(QtCore.Qt.ActionsContextMenu)
        self.tree.setHeaderHidden(True)
        self.tree.setObjectName(_fromUtf8("tree"))
        self.verticalLayout.addWidget(self.tree)
        self.nameLayout = QtGui.QHBoxLayout()
        self.nameLayout.setObjectName(_fromUtf8("nameLayout"))
        self.nameLabel = QtGui.QLabel(ChipSaveLoadDialog)
        self.nameLabel.setObjectName(_fromUtf8("nameLabel"))
        self.nameLayout.addWidget(self.nameLabel)
        self.nameEdit = QtGui.QLineEdit(ChipSaveLoadDialog)
        self.nameEdit.setFrame(True)
        self.nameEdit.setObjectName(_fromUtf8("nameEdit"))
        self.nameLayout.addWidget(self.nameEdit)
        self.verticalLayout.addLayout(self.nameLayout)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        spacerItem = QtGui.QSpacerItem(101, 22, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem)
        self.createNewBtn = QtGui.QPushButton(ChipSaveLoadDialog)
        self.createNewBtn.setObjectName(_fromUtf8("createNewBtn"))
        self.horizontalLayout.addWidget(self.createNewBtn)
        self.selectBtn = QtGui.QPushButton(ChipSaveLoadDialog)
        self.selectBtn.setObjectName(_fromUtf8("selectBtn"))
        self.horizontalLayout.addWidget(self.selectBtn)
        self.saveBtn = QtGui.QPushButton(ChipSaveLoadDialog)
        self.saveBtn.setObjectName(_fromUtf8("saveBtn"))
        self.horizontalLayout.addWidget(self.saveBtn)
        self.cancelBtn = QtGui.QPushButton(ChipSaveLoadDialog)
        self.cancelBtn.setObjectName(_fromUtf8("cancelBtn"))
        self.horizontalLayout.addWidget(self.cancelBtn)
        self.verticalLayout.addLayout(self.horizontalLayout)
        self.actionRename = QtGui.QAction(ChipSaveLoadDialog)
        self.actionRename.setObjectName(_fromUtf8("actionRename"))
        self.actionNewCategory = QtGui.QAction(ChipSaveLoadDialog)
        self.actionNewCategory.setObjectName(_fromUtf8("actionNewCategory"))
        self.actionDelete = QtGui.QAction(ChipSaveLoadDialog)
        self.actionDelete.setObjectName(_fromUtf8("actionDelete"))

        self.retranslateUi(ChipSaveLoadDialog)
        QtCore.QObject.connect(self.cancelBtn, QtCore.SIGNAL(_fromUtf8("clicked()")), ChipSaveLoadDialog.reject)
        QtCore.QObject.connect(self.saveBtn, QtCore.SIGNAL(_fromUtf8("clicked()")), ChipSaveLoadDialog.onSave)
        QtCore.QObject.connect(self.selectBtn, QtCore.SIGNAL(_fromUtf8("clicked()")), ChipSaveLoadDialog.onSelect)
        QtCore.QObject.connect(self.createNewBtn, QtCore.SIGNAL(_fromUtf8("clicked()")), ChipSaveLoadDialog.onCreateNew)
        QtCore.QObject.connect(self.tree, QtCore.SIGNAL(_fromUtf8("itemDoubleClicked(QTreeWidgetItem*,int)")), ChipSaveLoadDialog.onSelect)
        QtCore.QObject.connect(self.actionRename, QtCore.SIGNAL(_fromUtf8("activated()")), ChipSaveLoadDialog.onRename)
        QtCore.QObject.connect(self.actionNewCategory, QtCore.SIGNAL(_fromUtf8("activated()")), ChipSaveLoadDialog.onNewCategory)
        QtCore.QObject.connect(self.actionDelete, QtCore.SIGNAL(_fromUtf8("activated()")), ChipSaveLoadDialog.onDelete)
        QtCore.QObject.connect(self.tree, QtCore.SIGNAL(_fromUtf8("currentItemChanged(QTreeWidgetItem*,QTreeWidgetItem*)")), ChipSaveLoadDialog.onCurrentItemChanged)
        QtCore.QMetaObject.connectSlotsByName(ChipSaveLoadDialog)

    def retranslateUi(self, ChipSaveLoadDialog):
        ChipSaveLoadDialog.setWindowTitle(QtGui.QApplication.translate("ChipSaveLoadDialog", "Select chip to save/load", None, QtGui.QApplication.UnicodeUTF8))
        self.tree.headerItem().setText(0, QtGui.QApplication.translate("ChipSaveLoadDialog", "Chips", None, QtGui.QApplication.UnicodeUTF8))
        self.nameLabel.setText(QtGui.QApplication.translate("ChipSaveLoadDialog", "Name:", None, QtGui.QApplication.UnicodeUTF8))
        self.createNewBtn.setText(QtGui.QApplication.translate("ChipSaveLoadDialog", "Create new", None, QtGui.QApplication.UnicodeUTF8))
        self.selectBtn.setText(QtGui.QApplication.translate("ChipSaveLoadDialog", "Select", None, QtGui.QApplication.UnicodeUTF8))
        self.saveBtn.setText(QtGui.QApplication.translate("ChipSaveLoadDialog", "Save", None, QtGui.QApplication.UnicodeUTF8))
        self.cancelBtn.setText(QtGui.QApplication.translate("ChipSaveLoadDialog", "Cancel", None, QtGui.QApplication.UnicodeUTF8))
        self.actionRename.setText(QtGui.QApplication.translate("ChipSaveLoadDialog", "Rename", None, QtGui.QApplication.UnicodeUTF8))
        self.actionNewCategory.setText(QtGui.QApplication.translate("ChipSaveLoadDialog", "New category", None, QtGui.QApplication.UnicodeUTF8))
        self.actionDelete.setText(QtGui.QApplication.translate("ChipSaveLoadDialog", "Delete", None, QtGui.QApplication.UnicodeUTF8))

from . import resource_rc
